#ifndef COMBOMESSAGEBOX_H
#define COMBOMESSAGEBOX_H

#include <QDialog>
#include <QModelIndex>

namespace Ui {
    class ComboMessageBox;
}

class QAbstractItemModel;

class ComboMessageBox : public QDialog
{
    Q_OBJECT

public:
    explicit ComboMessageBox(QWidget *parent = 0);
    ~ComboMessageBox();

    void setLabelText(QString);
    void setComboModel(QAbstractItemModel*);

    QModelIndex selectedItem() const;
    QString selectedText() const;

private:
    Ui::ComboMessageBox *ui;
};

#endif // COMBOMESSAGEBOX_H
